package com.caregiver.watch.business.data.model.po;

import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

@Data
public class SportData {
    /**
     * 主键
     */
    private Long id;
    /**
     * 用户ID
     */
    private Long userId;
    /**
     * 设备ID
     */
    private String deviceUuId;
    /**
     * 数据时间
     */
    private LocalDateTime dataTime;
    /**
     * 运动类型
     */
    private Integer sportType;
    /**
     * 运动状态
     */
    private Integer sportState;
    /**
     * 步数
     */
    private Integer stepCount;
    /**
     * 距离
     */
    private BigDecimal distance;
    /**
     * 千卡路里
     */
    private BigDecimal calorie;

    @Override
    public String toString() {
        return "SportData{" +
                "id=" + id +
                ", userId=" + userId +
                ", deviceId='" + deviceUuId +
                ", dataTime=" + dataTime +
                ", sportType=" + sportType +
                ", sportState=" + sportState +
                ", stepCount=" + stepCount +
                ", distance=" + distance +
                ", calorie=" + calorie +
                '}';
    }
}
